<?php
return array(
	'attributeLabels' => array(
		'departure_time' => '起飞时间',
		'landing_time' => '降临时间'
	),
	'rules'=>array(
        array('taxes,departure_time,landing_time,airlines,aircraft_type,flight,accommodation,departure_airport,landing_airport,departure_city,arrival_city','required'),
        array('aircraft_type','length','max'=>50),
	),

	'relations' => array(
	    'goods' => array(CActiveRecord::BELONGS_TO,'Goods','goods_id'),
	),

	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);